﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RPG游戏
{
    class Hero
    {
        protected  static string hero_name;
        protected static string name;
        protected static string introduce;
        protected static string skill;
        protected static string attack;
        protected static string defense;
        protected static string speed;

        public string Name { get => name; set => name = value; }
        public string Introduce { get => introduce; set => introduce = value; }
        public string Hero_name { get => hero_name; set => hero_name = value; }
        public string Attack { get => attack; set => attack = value; }
        public string Defense { get => defense; set => defense = value; }
        public  string Speed { get => speed; set => speed = value; }
        public string Skill { get => skill; set => skill = value; }

        public Hero(string name, string hero_name, string introduce,  string skill, string attack, string defense, string speed)
        {
            this.Name = name;
            this.Hero_name = hero_name;
            this.Introduce = introduce;
            this.Skill = skill;
            this.Attack = attack;
            this.Defense = defense;
            this.Speed = speed;
            
        }
        public static  void Print()
        {
            Console.WriteLine("用户昵称:" + name);
            Console.WriteLine("角色名称：" + hero_name);
            Console.WriteLine("角色介绍:" + introduce);
            Console.WriteLine("角色技能:" + skill);
            
            Console.WriteLine("攻击力:" + attack);
            Console.WriteLine("防御力:" + defense);
            Console.WriteLine("速度:" + speed);
        }
    }
}
